package com.lagou.edu.annotation;

import java.lang.annotation.*;

/**
 * Author: zuo
 * Date: 2021/3/25 16:47
 * Describe:自定义Autowired注解
 */
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD,
        ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyAutowired {
    boolean value() default true;
}

